var status = -1;
var selectionLog = [];

function action(c, b, a) {
    if (cm.isQuestActive(34418) && "find1=1;s1=1".equals(cm.getInfoQuest(34436))) {
        action3(c, b, a)
    } else {
        cm.dispose()
    }
}

function action3(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.updateInfoQuest(34436, "find1=1;find2=1;s1=1");
            cm.sendNormalTalk("#b（好像也不在这里啊，说不定是去练习室了。#k", 2, 0, false, false)
        } else {
            if (status === a++) {
                cm.dispose()
            }
        }
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};